package cn.wen.yinxiu.works.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.wen.yinxiu.common.entity.BaseEntity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @ClassName: TopicEntity
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-22 09:39:56
 * @Description: 作品话题详情表的实体类
 */
@Data
@TableName("y_topic")
public class TopicEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 话题表 通过#来设置话题
	 */
	@TableId(value = "topic_id", type = IdType.AUTO)
	private Long topicId;
	/**
	 * 话题标题
	 */
	private String topicTitle;
	/**
	 * 话题引用计数
	 */
	private Long referenceCount;
	/**
	 * 话题描述
	 */
	private String topicDesc;
	/**
	 * 话题图片
	 */
	private String topicPicture;
	/**
	 * 话题状态：0：禁用  1：启用
	 */
	private Integer status;
	/**
	 * 话题关注计数（包括收藏）
	 */
	private Long focusCount;
	/**
	 * 话题浏览数量
	 */
	private Long topicView;

}
